cc.Class({
    extends: cc.Component,

    properties: {

    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},
    showWechatOpenDomain () {
        this.node.parent.active = true
    },
    closeWechatOpenDOmain () {
        this.node.parent.active = false
    },
    start () {
        this.node.getChildByName('关闭财富榜').on(cc.Node.EventType.TOUCH_START,()=>{
            this.node.parent.active = false
        },this)
    },

    // update (dt) {},
});
